package com.ymatou.iapi.productmanager.service.old;

import org.json.JSONObject;

import com.ymttest.business.YmatouAutoTestCall;
import com.ymttest.utils.EnvSetup;
import com.ymttest.utils.MapUtil;

public class GetActivityAllProductsCall extends YmatouAutoTestCall{

	private static String opurl ="api/Product/GetActivityAllProducts";
	
	public GetActivityAllProductsCall() {
		super(EnvSetup.getSystemUrl("productmanager"),opurl,"POST","JSON");
	}
	@Override
	public void addDefHeader() {
		client.addHeader("Content-Type", "application/json");
	}

	
	public JSONObject call(int sellerId, int liveId){
		return this.callAndGetReturnData(MapUtil.hashMap("UserId",sellerId,"ActivityId",liveId));
	}
	
	public static void main(String[] args) {
		new GetActivityAllProductsCall().callAndGetReturnData();
	}
	
	
	
	
	
	
	

	
	
}
